//
//  NOViewController.m
//  In4Students
//
//  Created by student on 13-12-5.
//  Copyright (c) 2013年 student. All rights reserved.
//

#import "NOViewController.h"

@interface NOViewController ()

@end

@implementation NOViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)whenPressed:(id)sender {
    self.labelForName.text = self.blankName.text;
    self.labelForNumber.text = self.blankNum.text;
    self.blankName.text = @"";
    self.blankNum.text =@"";
    [self.blankName resignFirstResponder];
    [self.blankNum resignFirstResponder];
}
@end
